<template>
  <div class="home">
    <h3>我是主页面</h3>
    <van-button>点击按钮</van-button>
  </div>
</template>

<script>
// // @ is an alias to /src
// import HelloWorld from '@/components/HelloWorld.vue'

export default {
  name: 'home',
  mounted(){
    this.$axios.get("https://api.it120.cc/small4/cms/news/list").then(res=>{
      console.log(res);
    }).catch(error=>{
      console.log(error);
    })
  }
}
</script>
<style lang="scss" scoped>

</style>
